<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 
<body>
 <ui:composition template="../template/template.xhtml">
	<ui:define name="central">
	<br/><br/><br/><br/>
	<div align="center">
		<h:panelGrid columns="2">

		    <t:panelGroup styleClass="painelLogin">
		        <h:form id="formLogin">
					<h:panelGrid columns="2">
						<h:outputText value="#{msg.Email}" />
						<h:inputText value="#{Sessao.login}" />
						<h:outputText value="#{msg.Senha}" />
						<h:inputSecret value="#{Sessao.senha}"/>
						<h:commandButton value="#{msg.Autenticar}" action="#{Sessao.autenticaUsuario}"/>
						<h:commandLink value="#{msg.CadastrarAluno}" action="CadastraAluno"/>
					</h:panelGrid>
				</h:form> 
			</t:panelGroup>
			<h:graphicImage value="/imagens/security.png"/>
		</h:panelGrid>
	</div>
	</ui:define>
 </ui:composition>
</body> 
</html>
